//
//  ZCSettingTVC.m
//  SSMusic
//
//  Created by 张灿 on 16/4/23.
//  Copyright © 2016年 张灿. All rights reserved.
//

#import "ZCSettingTVC.h"

@interface ZCSettingTVC ()

@end

@implementation ZCSettingTVC


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"设置";
    
    [self setGroup0];
    [self setGroup1];
    [self setGroup2];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

#pragma mark - Table view data source

- (void)setGroup0
{
    accountItem *item0 = [accountItem itemWithImage:nil andTitle:@"在线播放音质"];
    accountItem *item1 = [accountItem itemWithImage:nil andTitle:@"下载音质"];
    NSArray *arr = @[item0,item1];
    GroupItem *groupItem = [GroupItem groupItemWithRowArr:arr];
    
    [self.groupArr addObject:groupItem];
    
}

- (void)setGroup1
{
    accountItem *item0 = [accountItem itemWithImage:nil andTitle:@"使用2G/3G/4G网络播放"];
    
    accountItem *item1 = [accountItem itemWithImage:nil andTitle:@"使用2G/3G/4G网络下载"];
    
    NSArray *arr = @[item0,item1];
    GroupItem *groupItem = [GroupItem groupItemWithRowArr:arr];
    
    [self.groupArr addObject:groupItem];
}

- (void)setGroup2
{
    accountItem *item0 = [accountItem itemWithImage:nil andTitle:@"账号和绑定设置"];
    
    accountItem *item1 = [accountItem itemWithImage:nil andTitle:@"寻找并邀请好友"];
    
    accountItem *item2 = [accountItem itemWithImage:nil andTitle:@"消息和隐私设置"];
    
    NSArray *arr = @[item0,item1,item2];
    GroupItem *groupItem = [GroupItem groupItemWithRowArr:arr];
    
    [self.groupArr addObject:groupItem];
}





@end
